﻿namespace Cooking.Client.Services
{
    public interface IQuery<TResult>
    {
        // Marker interface to define query objects.
    }

    public interface IQueryHandler<TQuery, TResult> where TQuery : IQuery<TResult>
    {
        TResult Handle(TQuery query);
    }
}